<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>咨询款支付</title>
</head>

<body>
<!--容器-->
<div>
    <div class="DetailsRtTop clearfix" id="lc_img_left">

        <#if "${lcdto.finishStatus}" ==3 >
            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==2 >
            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==1 >
            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==0 >
            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">
        </#if>
        <span class="ft18 bold fl ml10">咨询付款申请</span>
    </div>
    <div class="downModule whitebg">
        <ul class="mb30">
            <li>
                <div class="clearfix">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("13")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("12")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("11")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("10")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="020">咨询付款申请</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:uploadzx">
<#--                            <label>-->
<#--                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">-->
<#--                                <button type="button" style="display: none;" lay-data="{type: '020',value:'11'}"-->
<#--                                        bt-data="['c','d']" class="img-upload whitebutton ft12 blue">点击上传-->
<#--                                </button>-->
<#--                            </label>-->

                            <label>
                                <img   src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '020',value:'11'}"
                                        bt-data="['c','d','sc_image','qr_uplaod','pl_delete','sh','jf2','g']"

                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/57@2x.png" alt="" class="fl " onclick="_prom_page.events.addForm(this)" lay-data="{type: '020',value:'11'}">
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl"
                                 onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:uploadzx">
                            <label>
                                <img  style="display: none;" src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '020',value:'11'}"  bt-data="['c','d']"
                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/57@2x.png" alt="" class="fl " onclick="_prom_page.events.addForm(this)" lay-data="{type: '020',value:'11'}">
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl"
                                 onclick="_prom_page.events.clickDelete(this)">
<#--                            <label style="display: none">-->
<#--                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">-->
<#--                                <button type="button" style="display: none;" lay-data="{type: '020',value:'11'}"-->
<#--                                        bt-data="['c','d']" class="img-upload whitebutton ft12 blue">点击上传-->
<#--                                </button>-->
<#--                            </label>-->
                        </@shiro.lacksPermission>
                        <@shiro.hasPermission name="file:finishzx">
                            <button class="fl bluebg white fl ml20" lay-fs="12"
                                    onclick="_prom_page.events.finish(this)">完成
                            </button>
                        </@shiro.hasPermission>
                    </div>
                </div>
                <ul id="jl_lxbox1" class="clearfix">
                    <#list listwj020 as vo>
                        <li class="clearfix">
                            <div class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
<#--                             <@shiro.hasPermission name="file:delpic">-->

<#--                             </@shiro.hasPermission>-->
                                <button type="button" class="fr ml20 mt15 bgnone btn_deletepic" onclick="_prom_page.events.delpic('${vo.id}')">删除附件  </button>
                            <@shiro.hasPermission name="file:upsealzx">
                                <button type="button" class="fr mt15 bgnone ml20  "  onclick="_prom_page.events.checkQz(this)">上传签章</button>
                                <button type="button" class="fr mt15 bgnone ml20 upseal tabsealup0"   style="display: none"  >上传签章</button>
                            </@shiro.hasPermission>

                            <@shiro.hasPermission name ="file:uploadzx">
                                <button type="button" style="display: none;"
                                        class="fr ml20 mt15 bgnone qr_uplaod  imageActionUploadImageZf"
                                        onclick="_prom_page.events.comfirmScImage(this)">确认上传
                                </button>
                                <button type="button" style="display: none;" class="fr ml20 mt15 bgnone pl_delete"
                                        onclick="_prom_page.events.plDeleteImage(this)">删除图片
                                </button>
                                <label>
                                    <button type="button" class="fr ml20 mt15 bgnone tabUploadImageZf"  lay-data="{'type':'002','num':11}" >上传图片
                                    </button>
                                </label>
                            </@shiro.hasPermission>
                            <@shiro.lacksPermission name="file:uploadzx">
                                <label style="display: none">
                                    <button type="button" class="fr ml20 mt15 bgnone tabUploadImageZf"  lay-data="{'type':'002','num':11}" >上传图片
                                    </button>
                                </label>
                                <button type="button" style="display: none;"
                                        class="fr ml20 mt15 bgnone qr_uplaod  imageActionUploadImageZf"
                                        onclick="_prom_page.events.comfirmScImage(this)">确认上传
                                </button>
                                <button type="button" style="display: none;" class="fr ml20 mt15 bgnone pl_delete"
                                        onclick="_prom_page.events.plDeleteImage(this)">删除图片
                                </button>
                            </@shiro.lacksPermission>
                            <@shiro.hasPermission name="file:exportzx">
                                <button type="button" class="fr ml20 mt15 bgnone"
                                        onclick="_prom_page.events.exportFile(this)">导出
                                </button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:viewzx">
                                <button type="button" class="fr mt15 bgnone ml20 btn_vew">查看</button>
                            </@shiro.hasPermission>
                            </div>
                            <div  style="position:relative;float: left; border: 1px solid #EEEEEE;height: 300px;width: 98%; overflow-y: scroll;display: none">
                                <div  style="clear: both;"></div><div class="layui-upload-list yldemo"></div>
                                <div  style="clear: both;"></div></div>
                            <div  style="border: 1px solid rgb(238, 238, 238); float:left;display: inline-block;width: 98%;">
                                <table id="table${vo.id}" style="height: 300px;" class="layui-hide" lay-filter="table${vo.id}'"></table>
                            </div>
                            <div style="clear:both;"></div>


                        </li>
                    </#list>
                </ul>
            </li>
            <li>
                <div class="clearfix">
                    <div class="downModuleTip clearfix fl">
<#--                        <#if "${lcdto.stepNum}"?contains("23")>-->
<#--                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">-->
<#--                        <#elseif  "${lcdto.stepNum}"?contains("22")>-->
<#--                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">-->
<#--                        <#elseif  "${lcdto.stepNum}"?contains("21")>-->
<#--                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">-->
<#--                        <#elseif  "${lcdto.stepNum}"?contains("20")>-->
<#--                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">-->
<#--                        </#if>-->
                        <span class="fl ml10 mt10 milefile" data-filetype="021">回款到账情况</span>
                    </div>

                </div>
                <ul id="jl_lxbox2" class="clearfix">
                        <table class="layui-hide" style="clear:both;" id="huikuan" lay-filter="huikuan"></table>
                </ul>
            </li>
        </ul>
    </div>
    <form class="layui-form" id="test" style="display:none; margin-top: 22px;" >
        <input type = "hidden" id = "payId1">
        <div class="layui-form-item" style="top: 20px">
            <div style="width: 50%;float: left">
                <label class="layui-form-label">序号(支付次数)</label>
                <div class="layui-input-inline">
                    <input type="text" name="sppNo1" id = "sppNo1" required readonly="true" style="background-color: #DCDDDC";lay-verify="required" autocomplete="on" class="layui-input">
                </div>
            </div>
            <div style="width: 50%;float: left">
                <label class="layui-form-label">支付时间/支付节点</label>
                <div class="layui-input-inline">
                    <input type="text" name="sppNode1" id = "sppNode1" required readonly="true"style="background-color: #DCDDDC"; lay-verify="required" autocomplete="on" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div style="width: 50%;float: left">
                <label class="layui-form-label">支付比例</label>
                <div class="layui-input-inline">
                    <input type="text" name="sppPersent1" id = "sppPersent1"  readonly="true"style="background-color: #DCDDDC"; required lay-verify="required" autocomplete="on" class="layui-input">
                </div>
            </div>
            <div style="width: 50%;float: left">
                <label class="layui-form-label">支付金额</label>
                <div class="layui-input-inline">
                    <input type="text" name="zfMomney1" id = "zfMomney1" required  readonly="true"style="background-color: #DCDDDC";lay-verify="required" autocomplete="on" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div style="width: 50%;float: left">
                <label class="layui-form-label">发票金额</label>
                <div class="layui-input-inline">
                    <input type="text" name="fpMoney1" id = "fpMoney1" required  readonly="true"lay-verify="required"style="background-color: #DCDDDC"; autocomplete="on" class="layui-input">
                </div>
            </div>
            <div style="width: 50%;float: left">
                <label class="layui-form-label">申请支付时间</label>
                <div class="layui-input-inline">
                    <input type="text" name="createDate1" id = "createDate1" required  readonly="true"style="background-color: #DCDDDC"; lay-verify="required" autocomplete="on" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div style="float: left;width: 50%">
                <label class="layui-form-label">是否到账</label>
                <div class="layui-input-block" style="width: 190px">
                    <select name="isArrival" id = "isArrival">
                        <option value="">请选择</option>
                        <option value="1">是</option>
                        <option value="2">否</option>
                    </select>
                </div>
            </div>
            <div style="float: left;width: 50%">
                <label class="layui-form-label">到账时间</label>
                <div class="layui-input-block" style="width: 190px">
                    <input name="arrivalDate" class="fl gq" op="0" zgq="start" type="datetime" style="width: 183px"
                           id="arrivalDate"
                           AutoComplete="off" placeholder="请选择时间"/>
                </div>
            </div>
        </div>
        <H3>咨询费付款信息</H3>
        <div class="layui-form-item">
            <div style="margin-top: 20px;">
                <label class="layui-form-label">付款方式</label>
                    <div class="layui-input-inline">
                        <input type="text" name="sppNode2" id = "sppNode2" required readonly="true" class="layui-input" disabled="disabled">
                    </div>
            </div>
        </div>
            <div id = "payLists" style="margin-top: 20px;width: 100%;float: left">

            </div>
    </form>
<#--    <input type="button" value="123456" onclick="test1()"/>-->
<#--    <iframe id="testframe"></iframe>-->
</div>
<script type="text/javascript" src="${re.contextPath}/plugin/system/supervisor/guide.js"></script>
<script>
    function test1() {
        $("#testframe").attr("src", "/sys/office/test1?id=098");
    }
    $(function () {
        lay('.gq').each(function () {
            laydate.render({
                elem: ".gq",
                type: 'date',
                trigger: 'click',
            });
        });
        var jsondata = {
            "id": '${pdto.id}',
            "spmId": '${pdto.spmId}',
            "stageId": '${stagedto.id}'
        }
        _prom_page._init(1, jsondata);
        var haveGuide = '${haveGuide}';guide._initMileFileGuide($(".milefile"));
        if (haveGuide) {
            var badtNo = '${badtNo}';
            guide._initBtn(haveGuide, badtNo);
        }

        // layui-tab-title 自动触发点击事件
        for (var i = 0; i < 2; i++) {
            $('.layui-tab-title:eq(' + i + ') li:eq(0)').click();
        }
        _prom_page.events.butKzInit();
    });
</script>

</body>

</html>